{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Alan\Documents\Comment paper\comment paper table 2 soep windmeijer.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}18 Jan 2016, 10:54:36

{com}. do "C:\Users\Alan\AppData\Local\Temp\STD19000000.tmp"
{txt}
{com}. **table 2 soep**
. 
. xtabond2 lifesat l.lifesat, gmm(l.lifesat, laglimits (1 .)) twostep robust
{res}{txt}Favoring space over speed. To switch, type or click on {stata "mata: mata set matafavor speed, perm"}.
{res}Warning: Two-step estimated covariance matrix of moments is singular.
{res}  Using a generalized inverse to calculate optimal weighting matrix for two-step estimation.
{res}  Difference-in-Sargan/Hansen statistics may be negative.

{txt}Dynamic panel-data estimation, two-step system GMM
{hline 78}
Group variable: {res}pid{txt}{col 49}Number of obs      = {res}   100100
{txt}Time variable : {res}syear{txt}{col 49}Number of groups   = {res}    18611
{txt}Number of instruments = {res}36{col 49}{txt}Obs per group: min = {res}        1
{txt}Wald chi2({res}1{txt}){col 15}= {res}   336.99{col 64}{txt}avg = {res}     5.38
{txt}Prob > chi2{col 15}={res}     0.000{col 64}{txt}max = {res}        8
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}   Corrected
{col 1}     lifesat{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}lifesat {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1444178{col 26}{space 2}  .007867{col 37}{space 1}   18.36{col 46}{space 3}0.000{col 54}{space 4} .1289987{col 67}{space 3} .1598369
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 5.876305{col 26}{space 2} .0557588{col 37}{space 1}  105.39{col 46}{space 3}0.000{col 54}{space 4}  5.76702{col 67}{space 3} 5.985591
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Instruments for first differences equation
{col 3}GMM-type (missing=0, separate instruments for each period unless collapsed)
{col 5}L(1/8).L.lifesat
Instruments for levels equation
{col 3}Standard
{col 5}_cons
{col 3}GMM-type (missing=0, separate instruments for each period unless collapsed)
{col 5}D.L.lifesat
{hline 78}
Arellano-Bond test for AR(1) in first differences:{col 52}z = {res}-61.25{txt}  Pr > z = {res} 0.000
{txt}Arellano-Bond test for AR(2) in first differences:{col 52}z = {res}  7.22{txt}  Pr > z = {res} 0.000
{txt}{hline 78}
Sargan test of overid. restrictions: chi2({res}34{txt}){col 49}={res} 467.03{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}  (Not robust, but not weakened by many instruments.)
Hansen test of overid. restrictions: chi2({res}34{txt}){col 49}={res} 383.84{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}  (Robust, but weakened by many instruments.)

Difference-in-Hansen tests of exogeneity of instrument subsets:
  GMM instruments for levels
    Hansen test excluding group:{col 38}chi2({res}27{txt}){col 49}={res} 367.49{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}    Difference (null H = exogenous):{col 38}chi2({res}7{txt}){col 49}={res}  16.34{txt}{col 59}Prob > chi2 = {res} 0.022

{txt}
{com}. xtabond2 lifesat l.lifesat, gmm(l.lifesat, laglimits (1 1)) twostep robust
{res}{txt}Favoring space over speed. To switch, type or click on {stata "mata: mata set matafavor speed, perm"}.
{res}Warning: Two-step estimated covariance matrix of moments is singular.
{res}  Using a generalized inverse to calculate optimal weighting matrix for two-step estimation.
{res}  Difference-in-Sargan/Hansen statistics may be negative.

{txt}Dynamic panel-data estimation, two-step system GMM
{hline 78}
Group variable: {res}pid{txt}{col 49}Number of obs      = {res}   100100
{txt}Time variable : {res}syear{txt}{col 49}Number of groups   = {res}    18611
{txt}Number of instruments = {res}15{col 49}{txt}Obs per group: min = {res}        1
{txt}Wald chi2({res}1{txt}){col 15}= {res}   313.82{col 64}{txt}avg = {res}     5.38
{txt}Prob > chi2{col 15}={res}     0.000{col 64}{txt}max = {res}        8
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}   Corrected
{col 1}     lifesat{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}lifesat {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1362238{col 26}{space 2} .0076897{col 37}{space 1}   17.72{col 46}{space 3}0.000{col 54}{space 4} .1211522{col 67}{space 3} .1512954
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 5.928489{col 26}{space 2} .0544842{col 37}{space 1}  108.81{col 46}{space 3}0.000{col 54}{space 4} 5.821702{col 67}{space 3} 6.035276
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Instruments for first differences equation
{col 3}GMM-type (missing=0, separate instruments for each period unless collapsed)
{col 5}L.L.lifesat
Instruments for levels equation
{col 3}Standard
{col 5}_cons
{col 3}GMM-type (missing=0, separate instruments for each period unless collapsed)
{col 5}D.L.lifesat
{hline 78}
Arellano-Bond test for AR(1) in first differences:{col 52}z = {res}-64.31{txt}  Pr > z = {res} 0.000
{txt}Arellano-Bond test for AR(2) in first differences:{col 52}z = {res}  7.42{txt}  Pr > z = {res} 0.000
{txt}{hline 78}
Sargan test of overid. restrictions: chi2({res}13{txt}){col 49}={res} 288.37{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}  (Not robust, but not weakened by many instruments.)
Hansen test of overid. restrictions: chi2({res}13{txt}){col 49}={res} 241.48{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}  (Robust, but weakened by many instruments.)

Difference-in-Hansen tests of exogeneity of instrument subsets:
  GMM instruments for levels
    Hansen test excluding group:{col 38}chi2({res}6{txt}){col 49}={res} 111.50{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}    Difference (null H = exogenous):{col 38}chi2({res}7{txt}){col 49}={res} 129.98{txt}{col 59}Prob > chi2 = {res} 0.000

{txt}
{com}. xtabond2 lifesat l.lifesat, gmm(l.lifesat, laglimits (2 3)) twostep robust
{res}{txt}Favoring space over speed. To switch, type or click on {stata "mata: mata set matafavor speed, perm"}.
{res}Warning: Two-step estimated covariance matrix of moments is singular.
{res}  Using a generalized inverse to calculate optimal weighting matrix for two-step estimation.
{res}  Difference-in-Sargan/Hansen statistics may be negative.

{txt}Dynamic panel-data estimation, two-step system GMM
{hline 78}
Group variable: {res}pid{txt}{col 49}Number of obs      = {res}   100100
{txt}Time variable : {res}syear{txt}{col 49}Number of groups   = {res}    18611
{txt}Number of instruments = {res}18{col 49}{txt}Obs per group: min = {res}        1
{txt}Wald chi2({res}1{txt}){col 15}= {res}   276.28{col 64}{txt}avg = {res}     5.38
{txt}Prob > chi2{col 15}={res}     0.000{col 64}{txt}max = {res}        8
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}   Corrected
{col 1}     lifesat{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}lifesat {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .7239355{col 26}{space 2} .0435536{col 37}{space 1}   16.62{col 46}{space 3}0.000{col 54}{space 4} .6385721{col 67}{space 3} .8092989
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.862825{col 26}{space 2} .3015548{col 37}{space 1}    6.18{col 46}{space 3}0.000{col 54}{space 4} 1.271789{col 67}{space 3} 2.453862
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Instruments for first differences equation
{col 3}GMM-type (missing=0, separate instruments for each period unless collapsed)
{col 5}L(2/3).L.lifesat
Instruments for levels equation
{col 3}Standard
{col 5}_cons
{col 3}GMM-type (missing=0, separate instruments for each period unless collapsed)
{col 5}DL.L.lifesat
{hline 78}
Arellano-Bond test for AR(1) in first differences:{col 52}z = {res}-20.97{txt}  Pr > z = {res} 0.000
{txt}Arellano-Bond test for AR(2) in first differences:{col 52}z = {res} 10.34{txt}  Pr > z = {res} 0.000
{txt}{hline 78}
Sargan test of overid. restrictions: chi2({res}16{txt}){col 49}={res}  69.09{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}  (Not robust, but not weakened by many instruments.)
Hansen test of overid. restrictions: chi2({res}16{txt}){col 49}={res}  86.91{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}  (Robust, but weakened by many instruments.)

Difference-in-Hansen tests of exogeneity of instrument subsets:
  GMM instruments for levels
    Hansen test excluding group:{col 38}chi2({res}10{txt}){col 49}={res}  76.25{txt}{col 59}Prob > chi2 = {res} 0.000
{txt}    Difference (null H = exogenous):{col 38}chi2({res}6{txt}){col 49}={res}  10.65{txt}{col 59}Prob > chi2 = {res} 0.100

{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Alan\Documents\Comment paper\comment paper table 2 soep windmeijer.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}18 Jan 2016, 11:00:27
{txt}{.-}
{smcl}
{txt}{sf}{ul off}